package com.aps.entity.dto;

import java.util.Date;

import com.aps.entity.domain.dish.Dish;
import com.aps.entity.domain.order.OrderDish;

import lombok.Data;

/**
 * @author liaoguangan
 * @description <联表查询出的菜品对象>
 * @date 2018/4/2 10:46
 */
@Data
public class ApsOrderDishDbDTO {

    private Dish dish;

    private OrderDish orderDish;

    private Date dueTime;

    private Date initRequestTime;

    private Date preAndIntervalTime;

    private Date requestTime;

    private Date preRequestTime;

    private Date startTime;

    private Date promiseTime;

    private Integer priority;

    private Boolean isFirst;

    public ApsOrderDishDbDTO() {
    }

    public ApsOrderDishDbDTO(Dish dish, OrderDish orderDish) {
        this.dish = dish;
        this.orderDish = orderDish;
    }
}
